package net.cohoivang.web;

import java.io.IOException;
import java.util.Properties;

public class GoldenChanceProperties {
	
	private static GoldenChanceProperties instance = new GoldenChanceProperties();
	private Properties properties;
	
	public static GoldenChanceProperties getInstance() {
		return instance;
	}
	
	private GoldenChanceProperties() {
		properties = new Properties();
	}
	
	public Properties getProperties() throws IOException {
		properties.load(this.getClass().getClassLoader().getResourceAsStream("MySqlDataSource.properties"));
		return properties;
	}
}
